package com.xh.petdogexpert.user.service;

import java.util.List;

import com.xh.petdogexpert.base.BaseException;
import com.xh.petdogexpert.user.dto.User;
import com.xh.petdogexpert.user.dto.UserDogLink;

public interface IUserService {

	List<User> queryUsers(User user);

	User getUser(User user) throws BaseException;

	int addUpdateUser(User user) throws BaseException;
	
	int register(User user) throws BaseException;
	
	int deleteUser(User user) throws BaseException;

	User getMyInfo();

	boolean forgetPassword(String email) throws Exception;

	String resetPasswordShow(String key);

	String resetPassword(String password, String key) throws BaseException;

	List<UserDogLink> getMyDogs();

	String resetPassword(String nickname, String email, String password) throws BaseException;
	
	boolean saveDogPic(String picName);
	
	List<String> getDogPic();
}
